﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="wfAgregarDireccion.aspx.cs" Inherits="WebGustozzi.ModuloVentas.wfAgregarDireccion" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Aplicación Web Gustozzi</title>
    <link href="//App_Themes/SkinFile/StyleSheet.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">            
        function Cerrar() {                
            window.close();          
        }  
    </script>
</head>
<body>

    <form id="form1" runat="server">
      <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
      <asp:UpdatePanel ID="UpdatePanel1" runat="server"><contenttemplate> 

      <div class="popup_Container">
        <div class="popup_Titlebar" id="PopupHeader">
            <div class="TitlebarLeft">            
                <%--Titulo--%>
                  <table style="width:100%" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td >
                            <asp:Label id="Label4" runat="server" Text=":: AGREGAR DIRECCION" 
                                SkinID="labelTitulo"></asp:Label>
                        </td>
                    </tr>    
                    <tr>
                        <td style="HEIGHT: 10px"></td>
                    </tr>
                </table>
            </div>
            <div class="TitlebarRight" onclick="cancel();">
            </div>
        </div>
        <div class="popupBusqueda">
        <div id="contenedor3">
                <asp:HiddenField ID="hdfIdDireccion" runat="server" />
                <asp:HiddenField ID="hdfNumDirecciones" runat="server" />
                <%--Datos del Busqueda--%>
        <table style="width:100%" cellpadding="0" cellspacing="0" border="0" class="tdmarcoTitulo">
            <tr>
                <td colspan="6">
                <table style="width:100%" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td class="tdfondoTitulo" style="width:100%; HEIGHT: 18px" align="left" colspan="9">
                            <asp:Label ID="Label1" runat="server" SkinID="labelsubTituloSkin"  
                                Text=" :: Datos de la Direccion" Width="230px"></asp:Label>
                        </td>
                    </tr>
                </table>
                </td>
            </tr>
           <tr>
                <td  style="width:10px; height: 10px;">
                    &nbsp;</td>
            </tr>
            <tr>
                <td  style="width:10px; height: 26px;">
                </td>
                <td style="width:90px; height: 10px;">
                    <asp:Label ID="Label3" runat="server" Text="Tipo de Direccion" 
                        SkinID="labelTextSkin"></asp:Label>
                </td>
                <td style="width:20px">
                    <asp:DropDownList ID="ddlTipoDireccion" runat="server" 
                        SkinID="DropDownListTextSkin" Width="120px" AppendDataBoundItems="True">
                        <asp:ListItem>--Seleccione--</asp:ListItem>
                    </asp:DropDownList>
                </td >
                <td  style="width:100px">
                    &nbsp;</td>
                <td  style="width:60px">
                </td>
                <td >
                </td>
            </tr>
            <tr>
                <td  style="width:10px; height: 26px;">
                </td>
                <td style="height: 10px;">
                    <asp:Label ID="Label8" runat="server" Text="Departamento" 
                        SkinID="labelTextSkin"></asp:Label>
                </td>
                <td style="width:20px">
                    <asp:DropDownList ID="ddlDepartamento" runat="server" 
                        SkinID="DropDownListTextSkin" Width="120px" AppendDataBoundItems="True" 
                        AutoPostBack="True" 
                        onselectedindexchanged="ddlDepartamento_SelectedIndexChanged">
                        <asp:ListItem>--Seleccione--</asp:ListItem>
                    </asp:DropDownList>
                </td >
                <td  style="width:100px">
                </td>
                <td  style="width:60px">
                </td>
                <td >
                </td>
            </tr>
            
             <tr>
                <td  style="width:10px; height: 26px;">
                </td>
                <td style="height: 10px;">
                    <asp:Label ID="Label13" runat="server" Text="Provincia" SkinID="labelTextSkin"></asp:Label>
                </td>
                <td style="width:20px">
                    <asp:DropDownList ID="ddlProvincia" runat="server" 
                        SkinID="DropDownListTextSkin" Width="120px" AppendDataBoundItems="True" 
                        AutoPostBack="True" 
                        onselectedindexchanged="ddlProvincia_SelectedIndexChanged">
                        <asp:ListItem>--Seleccione--</asp:ListItem>
                    </asp:DropDownList>
                </td >
                <td  style="width:100px">
                </td>
                <td  style="width:60px">
                </td>
                <td >
                </td>
            </tr>
             <tr>
                <td  style="width:10px; height: 26px;">
                </td>
                <td style="height: 10px;">
                    <asp:Label ID="Label2" runat="server" Text="Distrito" SkinID="labelTextSkin"></asp:Label>
                </td>
                <td style="width:20px">
                    <asp:DropDownList ID="ddlDistrito" runat="server" 
                        SkinID="DropDownListTextSkin" Width="120px" AppendDataBoundItems="True">
                        <asp:ListItem>--Seleccione--</asp:ListItem>
                    </asp:DropDownList>
                </td >
                <td  style="width:100px">
                </td>
                <td  style="width:60px">
                </td>
                <td >
                </td>
            </tr>
           <tr>
                <td  style="width:10px; height: 26px;">
                </td>
                <td>
                    <asp:Label ID="Label5" runat="server" Text="Direccion" SkinID="labelTextSkin" 
                        Height="16px"></asp:Label>
                </td>
                <td colspan="2">
                    <asp:TextBox ID="txtDireccion" runat="server" SkinID="CajaTextoSkin" 
                        Width="452px"></asp:TextBox>
                </td>
                
            </tr>
            <tr>
                <td  style="width:10px; height: 26px;">
                </td>
                <td>
                    <asp:Label ID="Label6" runat="server" Text="Referencia" SkinID="labelTextSkin" 
                        Height="16px"></asp:Label>
                </td>
                <td colspan="4">
                    <asp:TextBox ID="txtReferencia" runat="server" SkinID="CajaTextoSkin" 
                        Width="449px"></asp:TextBox>
                </td>
                
            </tr>
            <tr>
                <td  style="width:10px; height: 26px;">
                </td>
                <td>
                    <asp:Label ID="Label7" runat="server" Text="Estado" SkinID="labelTextSkin" 
                        Height="16px"></asp:Label>
                </td>
                <td colspan="4">
                    <asp:DropDownList ID="ddlEstado" runat="server" 
                        SkinID="DropDownListTextSkin" Width="120px" AppendDataBoundItems="True">
                        <asp:ListItem>--Seleccione--</asp:ListItem>
                        <asp:ListItem Value="A">Activo</asp:ListItem>
                        <asp:ListItem Value="I">Inactivo</asp:ListItem>
                    </asp:DropDownList>
                </td>
                
            </tr>
            <tr>
                <td  style="width:10px; height: 10px;">
                    &nbsp;</td>
            </tr>
        </table>
        <table>
            <tr style="height:10px"><td></td></tr>
        </table>

        <%--Controles de comando--%>
        <table>
            <tr>
                <td style="height:26px" align="left" >
                    &nbsp;<asp:ImageButton ID="imbAceptar" runat="server" 
                        ImageUrl="~/imagenes/bn_Aceptar.jpg" 
                        ToolTip="Aceptar" onclick="imbAceptar_Click" style="height: 21px"  />
                    &nbsp;<asp:ImageButton ID="imbCerrar" runat="server"  
                        ImageUrl="~/imagenes/bn_cerrar.jpg" 
                        ToolTip="Nuevo Producto" onclientclick="Cerrar()" />
            </td></tr>
        </table>

        <table>
            <tr style="height:10px"><td></td></tr>
        </table>
                   
    
            </div>

        </div>
        
    </div>
    </contenttemplate> </asp:UpdatePanel>
</form>
</body>
</html>